﻿	config.initpage = function(gridNode){		var event = gridNode.event;		event.on('beforecustom', function(event) {			var records = event.grid.getSelectionModel().getSelections();						for (var i = 0; i < records.length; i++) {				var state = records[i].get('plet_msg__msg_state');				if (state != '0') {					JxHint.alert(jx.sys.hasnoboard);	//'选择的记录中存在非“草稿”状态的公告，不能发布！'					return false;				}			}		});	};